import axios from './http.js';

const Training = {	
	//获取大类树
	GetClassTree(model){
		return axios.get('/api/Training/GetClassTree',{params:model})
	},
	//获取题目
	GetQuestionByClassAndNo(model){
		return axios.get('/api/Training/GetQuestionByClassAndNo',{params:model})
	},
	//随机生成测试
	CreateTest(model){
		return axios.post('/api/Training/CreateTest',model)
	}	
}

export default Training;